<?php

namespace AppBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Request;

class LanguageController extends Controller
{
    /**
     * @Route("/language/show/{page}", name="language_show", requirements={"page": "\d+"})
     */
    public function showAction(Request $request,$page)
    {

        echo $request->getLocale();
        exit;

    }


}
